package com.gouwudai.gobbs.service;

import java.util.List;

import com.gouwudai.gobbs.common.IPageList;
import com.gouwudai.gobbs.pojo.TbbsArea;
import com.litt.core.exception.BusiException;

/**
 * <pre>
 *  Title:TODO
 *  Description: TODO  
 * </pre>
 * 
 * @author <a href="mailto:littcai@hotmail.com">空心大白菜</a>
 * @date 2007-3-29
 * @version 1.0
 * <pre>
 * 修改记录
 *    修改后版本:     修改人：  修改日期:     修改内容: 
 * </pre>
 */
public interface IAreaService {

	public void save(TbbsArea tbbsArea) ;

	public TbbsArea load(Integer id) ;

	public void update(TbbsArea tbbsArea) ;

	public void delete(Integer Id) ;

	/**
	 * 返回该省下的所有城市，中间用逗号分开，供页面生成下拉列表
	 * @param areaId
	 * @return
	 */
	public String getSubCitiesOptions(Integer areaId) ;

	public IPageList listPage(int pageIndex, int pageSize, String sort);

    public List listByType(int areaType);	
	
	public void AutoBindingTable(javax.servlet.http.HttpServletRequest request);

}